setAlwaysOnBottom

abstract fun setAlwaysOnBottom(block: DesignBlock, enabled: Boolean)

Update the block's always-on-bottom property. If true, this blocks's global sorting order is automatically adjusted to be lower than all other siblings without this property. If more than one block is set to be always-on-bottom, the child order decides which is on the bottom. A page slice fails with BLOCK.TYPE_CANNOT_BE_ARRANGED, because its place in the page is its reading order.

Parameters

block

the block to update.

enabled

whether the block shall be always-on-bottom.